/* 登录页面样式 */

.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
}

.login-card {
  width: 400px;
  max-width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  overflow: hidden;
  animation: slideUp 0.5s ease-out;
}

.login-title {
  text-align: center;
  margin-bottom: 32px;
}

.login-title h1 {
  margin: 0;
  color: #1890ff;
  font-size: 28px;
  font-weight: 600;
}

.login-title p {
  margin: 8px 0 0 0;
  color: #666;
  font-size: 14px;
}

.login-form {
  margin-top: 24px;
}

.login-form-item {
  margin-bottom: 24px;
}

.login-form-item .ant-input-prefix {
  color: #1890ff;
  margin-right: 8px;
}

.login-form-item .ant-input {
  padding: 12px 12px 12px 40px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid #d9d9d9;
  transition: all 0.3s ease;
}

.login-form-item .ant-input:focus {
  border-color: #1890ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.login-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.login-form-actions .ant-checkbox-wrapper {
  color: #666;
}

.login-form-actions .ant-checkbox-wrapper:hover {
  color: #1890ff;
}

.login-form-forgot {
  color: #1890ff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.login-form-forgot:hover {
  color: #40a9ff;
}

.login-submit {
  height: 44px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
  transition: all 0.3s ease;
}

.login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
}

.login-submit:active {
  transform: translateY(0);
}

.login-register {
  text-align: center;
  margin-top: 16px;
  color: #666;
  font-size: 14px;
}

.login-register a {
  color: #1890ff;
  text-decoration: none;
  margin-left: 4px;
  transition: color 0.3s ease;
}

.login-register a:hover {
  color: #40a9ff;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .login-card {
    width: 100%;
    margin: 0 16px;
  }

  .login-title h1 {
    font-size: 24px;
  }
}